﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR;

public class BookingHub : Hub
{
    public static void SendToAll(string postedDate, int roomId)
    {
        var hubContext = GlobalHost.ConnectionManager.GetHubContext<BookingHub>();
        hubContext.Clients.All.broadcastChanges(postedDate, roomId);
    }
}